/**
 * 
 */
package com.wuka.controller;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.wuka.model.RestfulLog;
import com.wuka.service.IRestFulLogService;


/**
 * @author zhangliping
 *
 */
@Controller
@RequestMapping("/restfulList")
public class RestFulListController {
	
    @Autowired
    private IRestFulLogService restFulLogService;
	
	
	@RequestMapping("/getRestFul")
	public String getRestFul(Map<String, Object> map) {
		List<RestfulLog> restfulLogList = new ArrayList<RestfulLog>();
		RestfulLog restfulLog = new RestfulLog();
		restfulLogList = restFulLogService.selectList(restfulLog);
		map.put("restfulLogList", restfulLogList);
		return "restFulList";
	}
	
}
